package com.example.zhu.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class Order {
    private MyPage page;
    private String id;

    private String roomName;
    private Integer pay;
    private Integer status;
    private Date createTime;
    private Date updateTime;
    private String nickname;
    private String payMethod;
    private String msg;
    private List<OrderProject> project;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date beginTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
}
